package com.zhuoshi.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhuoshi.IDao.Wd_contractModelMapper;
import com.zhuoshi.bean.Wd_contractModel;
import com.zhuoshi.service.Wd_contractModelService;
@Service
public class Wd_contractModelServiceImpl implements Wd_contractModelService {
	@Autowired
	private Wd_contractModelMapper contractDao;
	
	public int deleteByPrimaryKey(String contractId) {
		return contractDao.deleteByPrimaryKey(contractId);
	}

	public int insert(Wd_contractModel record) {
		return contractDao.insert(record);
	}

	public int insertSelective(Wd_contractModel record) {
		return contractDao.insertSelective(record);
	}

	public Wd_contractModel selectByPrimaryKey(String contractId) {
		return contractDao.selectByPrimaryKey(contractId);
	}

	public int updateByPrimaryKeySelective(Wd_contractModel record) {
		return contractDao.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(Wd_contractModel record) {
		return contractDao.updateByPrimaryKey(record);
	}

	public List<Wd_contractModel> selectAllContract(Wd_contractModel conBean) {
		return contractDao.selectAllContract(conBean);
	}
}
